@extends('home.register.register')

@section('title')
    <title>注册成功</title>
@endsection

@section('header')
<div id="form-header" class="header">
    <div class="logo-con w clearfix">
        <a href="" class="logo">
        </a>
        <div class="logo-title">注 册 成 功</div> 
    </div>
</div>
@endsection

@section('content')
    <center>
    <div style="margin-top: 300px">     
    <a href="/" id="mail">激活成功,请去您的邮箱激活您的帐号,3秒后跳转首页,或者点击此链接跳转首页</a>
    </div>
    </center>
<script type="text/javascript">
    var a = $("#mail");
    var i = 3;
    var init = setInterval(function(){
        i--;
        a.html('激活成功,请去您的邮箱激活您的帐号,'+i+'秒后跳转首页,或者点击此链接跳转首页');
        if (i == 0) {
            clearInterval(init);
            window.location.href = '/';
        }
    }, 1000);
</script>
@endsection